totalCoverage
- base
- localhost
- dev
- prod
/v2/private/life/totalCoverage
http://localhost:1350/v2/private/life/totalCoverage
https://dev.everdays.com/v2/private/life/totalCoverage
https://everdays.com/v2/private/life/totalCoverage
Available Methods​
- POST
POST /v2/private/life/totalCoverage​
This endpoint will be called before Solution screen that includes the user's information.
The data will then be sent to AA to start an application and retrieve pricing information.
Params​
| Param | Type | Description |
|---|---|---|
| firstName | String | The user's first name |
| lastName | String | The user's last name |
| dateOfBirth | Date (ISO) | The user's date of birth |
| gender | String Enum - ['Male', 'Female'] | The user's gender |
| state | String | The user's State address (ex. MI) |
String | The user's email address |
Example request body
body: {
"firstName": "cool",
"lastName": "person",
"dateOfBirth": "1982-01-30T23:52:45.372+00:00",
"gender": "Male",
"state": "zz",
"email": "mwong+engine@everdays.com"
}
Returns​
The entire user object. user.purchase data will be updated with appNumber, a pricing array. Pricing data will be used for the Term Policy Builder.
Example return object with user.purchase
user: {
...,
"purchase": {
"aa": {
"appNumber": 1000542,
"pricing": [
{
"product": "EZT",
"coverage": 50000,
"terms": [
{
"years": 10,
"price": 21.48,
"riders": [
{
"type": "CI",
"price": 4.94,
"included": false,
"coverage": 12500
}
]
}
]
},
{
"product": "EZT",
"coverage": 50000,
"terms": [
{
"years": 20,
"price": 25.53,
"riders": [
{
"type": "CI",
"price": 4.93,
"included": false,
"coverage": 12500
}
]
}
]
},
],
}
}
}
info
For more detailed information about each value in purchase, please refer to the user model docs.